package com.ysx.server.utils;

public class Result <T>{
    private Integer code;
    private T data;
    private String message;

    public Result(Integer code, T data, String message) {
        this.code = code;
        this.data = data;
        this.message = message;
    }

    public Result() {
    }

    public Result(Integer code, T data) {
        this(code,data,null);
    }
}
